package com.java.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
* @ClassName: ExTopicResp
* @Description: ex_topic_resp表：答题响应表
* @author admin
* @date 2024-03-15
 */
public class ExTopicResp {
	/**
	 * 主键
	 */
	private String respId;
	/**
	 * 答题人
	 */
	private String respAccountId;
	/**
	 * 所属记录
	 */
	private String respRecordId;
	/**
	 * 所属题目
	 */
	private String respItemId;
	/**
	 * 答案
	 */
	private String respAnswer;
	/**
	 * 0答错，1答对
	 */
	private Integer respResult;
	/**
	 * 答题时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
	private Date respTime;

	public ExTopicResp() {
		super();
	}
	
	public String getRespId() {
		return respId;
	}
	public ExTopicResp setRespId(String respId) {
		this.respId = respId;
		return this;
	}
	
	public String getRespAccountId() {
		return respAccountId;
	}
	public ExTopicResp setRespAccountId(String respAccountId) {
		this.respAccountId = respAccountId;
		return this;
	}
	
	public String getRespRecordId() {
		return respRecordId;
	}
	public ExTopicResp setRespRecordId(String respRecordId) {
		this.respRecordId = respRecordId;
		return this;
	}
	
	public String getRespItemId() {
		return respItemId;
	}
	public ExTopicResp setRespItemId(String respItemId) {
		this.respItemId = respItemId;
		return this;
	}
	
	public String getRespAnswer() {
		return respAnswer;
	}
	public ExTopicResp setRespAnswer(String respAnswer) {
		this.respAnswer = respAnswer;
		return this;
	}
	
	public Integer getRespResult() {
		return respResult;
	}
	public ExTopicResp setRespResult(Integer respResult) {
		this.respResult = respResult;
		return this;
	}
	
	public Date getRespTime() {
		return respTime;
	}
	public ExTopicResp setRespTime(Date respTime) {
		this.respTime = respTime;
		return this;
	}
	
}